package com.ly.demo.bean;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

@Component
@ConfigurationProperties("ly.demo")
public class Options {

    private String name = "廖老师的案例库";
    private String logo = "https://img1.baidu.com/it/u=1927154907,3706664048&fm=253&fmt=auto&app=138&f=JPG?w=400&h=300";
    private String bgimg = "https://img2.baidu.com/it/u=1400870474,185917306&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=222";
    private Map<String, String> resMap;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getBgimg() {
        return bgimg;
    }

    public void setBgimg(String bgimg) {
        this.bgimg = bgimg;
    }

    public Map<String, String> getResMap() {
        return resMap;
    }

    public void setResMap(Map<String, String> resMap) {
        this.resMap = resMap;
    }
}
